package com.cy.wangly.springcore.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Configuration;

@Configuration
public class TestBeanFour {
    private TestBeanTwo testBeanTwo;

    @Autowired
    public void setTestBeanTwo(TestBeanTwo testBeanTwo) {
        System.out.println("setTestBeanTwo");
        this.testBeanTwo = testBeanTwo;
    }

    public TestBeanFour() {
        System.out.println(" init TestBeanFour");
    }
}
